Total Complexity | 69 |
Dependencies | 9 |
Dependents | 0 |
Total lines | 553 |
Lines of code | 345 |
Logical lines of code | 148 |
Comment lines | 142 |
Methods | 14 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_remaining_products() | 44 | 15 | 38 | |
calculate_wc_discount_price() | 47 | 10 | 31 | |
get_wc_products() | 46 | 6 | 44 | |
calculate_main_products_discount() | 55 | 7 | 19 | |
delete_product() | 49 | 6 | 31 | |
fetch_products() | 49 | 6 | 30 | |
register_routes() | 42 | 1 | 69 | |
calculate_lms_discount_price() | 57 | 4 | 17 | |
calculate_discount_price() | 55 | 3 | 21 | |
get_meta_key_by_step_type() | 60 | 3 | 15 | |
get_products() | 60 | 3 | 13 | |
update_items_permissions_check() | 69 | 2 | 6 | |
get_items_permissions_check() | 69 | 2 | 6 | |
prepare_item_for_response() | 72 | 1 | 5 |